﻿<Window x:Class="AboutUsWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
    SizeToContent="WidthAndHeight" WindowStyle="None" AllowsTransparency="True" Icon="/Horizon.HMS;component/Images/POSIcon.ico"
    xmlns:local="clr-namespace:Horizon.HMS" WindowStartupLocation="CenterScreen" Background="Transparent" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" >
    <Border Background="White" BorderBrush="Navy" BorderThickness="2" CornerRadius="10">
        <Grid Margin="10" Background="{StaticResource WindowBackground}">
            <Grid.RowDefinitions>
                <RowDefinition Height="30"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock Margin="20,2" FontSize="16" FontWeight="SemiBold" Foreground="{StaticResource TextLabelColor}">
            <Run Text="HMS (" />
            <Run Text="Your management partner..." FontSize="10" FontStyle="Italic"/>
            <Run Text=")" />
            <Run Text=" :: Register"/>
            </TextBlock>
            <Button Grid.Column="2" Style="{DynamicResource CloseButtonStyle}" Width="11.195" Content="Button" x:Name="CloseButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,5.583,7.468,0" VerticalAlignment="Top" Height="12.77"/>
            <Button Grid.Column="2" Style="{DynamicResource MinimizeButtonStyle}" Width="12.402" Content="Button" x:Name="MinimizeButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,4.733,24.606,0" VerticalAlignment="Top" Height="13.537"/>
            <Path Data="M18,115 L616,115" Fill="#FFF4F4F5" Height="1" Margin="5" Width="400" Stretch="Fill" Stroke="White" Grid.Row="1" Grid.ColumnSpan="2"/>
            <Grid Grid.Row="2" Name="MainStack" Grid.ColumnSpan="2" HorizontalAlignment="Left">
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <TextBlock FontFamily="Arial" TextWrapping="Wrap" Margin="10,10,100,10" Height="68" VerticalAlignment="Top">
                    <Run Text="Hospital" FontSize="42" BaselineAlignment="Center"/>
                    <LineBreak/>
                    <Run Text="Management System" FontSize="16" BaselineAlignment="Center"/>
		             <TextBlock.Foreground>
			<LinearGradientBrush EndPoint="0.886,1.47" StartPoint="0.055,-0.261">
				<GradientStop Color="#FFFFFFFF" Offset="0"/>
				<GradientStop Color="#FFB8C2D2" Offset="1"/>
			</LinearGradientBrush>
		</TextBlock.Foreground>
                </TextBlock>
                <Viewbox Stretch="Fill" x:Name="RestaurantLogo" Grid.Column="1" Grid.RowSpan="2" Margin="10,5,5,5" Width="105" RenderTransformOrigin="3.868,0.974" HorizontalAlignment="Right">
                    <Grid Width="368" Height="368">
                        <Ellipse Stroke="{x:Null}" RenderTransformOrigin="0.5,0.5">
                            <Ellipse.Fill>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" >
                                    <GradientStop Color="#FF000F29" Offset="0.536"/>
                                    <GradientStop Color="#FFD9DEE8" Offset="1"/>
                                    <GradientStop Color="#FFD2DAE8" Offset="0"/>
                                </LinearGradientBrush>
                            </Ellipse.Fill>
                            <Ellipse.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="1" ScaleY="1"/>
                                    <SkewTransform AngleX="0" AngleY="0"/>
                                    <RotateTransform Angle="45"/>
                                    <TranslateTransform X="0" Y="0"/>
                                </TransformGroup>
                            </Ellipse.RenderTransform>
                        </Ellipse>
                        <Ellipse Margin="7,8,7,6" Stroke="{x:Null}" Fill="#FF4A5790">

                        </Ellipse>
                        <Image Source="/Horizon.HMS;component/Images/golive.png" />
                    </Grid>
                </Viewbox>
                <Grid Grid.Row="2">
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Text="License to:" Style="{StaticResource TextBlockStyle}"/>
                    <extToolkit:WatermarkTextBox Grid.Column="1" Watermark="License to" Name="NameTextBox" Margin="2"/>
                    <TextBlock Text="License no:" Grid.Row="1" Style="{StaticResource TextBlockStyle}"/>
                    <extToolkit:WatermarkTextBox Grid.Row="1" Grid.Column="1" Watermark="0000-0000-0000-0000" Name="LicenseNoTextBox" Margin="2"/>
                    <Button Content="Register" Width="100" Grid.Row="2" Grid.ColumnSpan="2" Height="35" Margin="3" Name="RegisterButton" Click="RegisterButton_Click" Style="{StaticResource MetroButton}"/>
                </Grid>
            </Grid>
        </Grid>
    </Border>
</Window>
